/*
 * Continuous alloc function header file.
 *
 * Copyright (C) 2014 Ingenic Semiconductor Co.,Ltd
 * Author: Aeolus <weiqing.yan@ingenic.com>
 */

#ifndef __CONTINUOUS_ALLOC_H__
#define __CONTINUOUS_ALLOC_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

int continuous_init(void *base, int size);
void *continuous_alloc(int size);
void continuous_free(void *ptr);
void continuous_dump();
void continuous_dump_to_file();

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __CONTINUOUS_ALLOC_H__ */
